package com.demo.helloworld.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.demo.helloworld.bo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public  interface UserDAO
{
  public  int addUser(User paramUser);
  
  public  User selectByid(Long paramLong);
  
  public  IPage<User> queryUser(Page paramPage, @Param("user") User paramUser);
  
  public  int update(User paramUser);
}